package _11_整理题目._Spring基础原理._设计模式._01_策略模式._武器;

public class Person {
    private Weapon weapon;

    public void setWeapon(Weapon weapon) {
        this.weapon = weapon;
    }

    public void useWeapon() {
        this.weapon.useWeapon();
    }
}
